package br.com.solutions.delivery.entity;

import br.com.solutions.delivery.entity.abst.AbstractEntity;
import java.util.Date;

public class Route extends AbstractEntity{

	private static final long serialVersionUID = 1L;

	private Location from;

	private Location to;

	private Object subject;

	private Date estimatedTime;

	private Date realTime;

	private Boolean done;

	private Double distance;
        
        public Route(){
            this.to = new Location();
            this.from = new Location();
        }
	public Location getFrom() {
		return from;
	}

	public void setFrom(Location from) {
		this.from = from;
	}

	public Location getTo() {
		return to;
	}

	public void setTo(Location to) {
		this.to = to;
	}

	public Object getSubject() {
		return subject;
	}

	public void setSubject(Object subject) {
		this.subject = subject;
	}

	public Date getEstimatedTime() {
		return estimatedTime;
	}

	public void setEstimatedTime(Date estimatedTime) {
		this.estimatedTime = estimatedTime;
	}

	public Date getRealTime() {
		return realTime;
	}

	public void setRealTime(Date realTime) {
		this.realTime = realTime;
	}

	public Boolean getDone() {
		return done;
	}

	public void setDone(Boolean done) {
		this.done = done;
	}

	public Double getDistance() {
		return distance;
	}

	public void setDistance(Double distance) {
		this.distance = distance;
	}

}
